//Iditarod Trail
//Amelia Bauer, Elise Eiden, Christine Gerardi, Taryn Green
//CSE 20212 2012


#ifndef MAP_H_
#define MAP_H_
#include <iostream>
#include <QWidget>
#include <QTimer>
#include <QtGui>
#include <QLineEdit>
#include <QGridLayout>
#include <QLabel>
#include <QString>
#include <string>
#include <cstring>
#include <vector>

using namespace std;

class Map:  public QMainWindow {
 	Q_OBJECT
 		
public:
// Constructor
	Map(int, QTimer *, QWidget *parent);
	void mousePressEvent(QMouseEvent *e);
	int calcLocation(int);
	void initialize();

public slots: 
	void close();

protected:

private:
	QGridLayout *big_layout;
	vector<int> points;
	vector<int> all_locations;
	vector<int> store_locations;
	QTimer* clock;


};
#endif
